package cn.exrick.xboot.modules.Information.serviceimpl;

import cn.exrick.xboot.modules.Information.dao.mapper.CrossMapper;
import cn.exrick.xboot.modules.Information.entity.Cross;
import cn.exrick.xboot.modules.Information.service.ICrossService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * 断面信息接口实现
 * @author Lyg
 */
@Slf4j
@Service
@Transactional
public class ICrossServiceImpl extends ServiceImpl<CrossMapper, Cross> implements ICrossService {

    @Autowired
    private CrossMapper crossMapper;

    @Override
    public List<Cross> crossList(String departmentId) {
        return crossMapper.crossList(departmentId);
    }
}